package org.springblade.pm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@TableName("blade_pm_risk_template")
@EqualsAndHashCode
public class RiskTemplate implements Serializable{

	private static final long serialVersionUID = 1L;
	/**
	 * 主键id
	 */
	@TableId(value = "id", type = IdType.AUTO)
	@ApiModelProperty(value = "主键id")
	private Integer id;

	/**
	 * 风险类别
	 */
	@ApiModelProperty(value = "风险类别")
	private Integer category;

	/**
	 * 风险描述
	 */
	@ApiModelProperty(value = "风险描述")
	private String des;

	/**
	 * 风险概率
	 */
	@ApiModelProperty(value = "风险概率")
	private Float probability;

	/**
	 * 风险影响
	 */
	@ApiModelProperty(value = "风险影响")
	private Integer influence;

	/**
	 * 化解措施
	 */
	@ApiModelProperty(value = "化解措施")
	private String countermeasures;

}
